class Enum(list):
  def __getattr__(self, name):
    if name in self:
      return name
    print('Could not find enumeration: '+str(name))
    raise AttributeError
  
  def __setattr__(self, name, value):
    print('Enumerations are unsettable')
    raise AttributeError
    
  def __delattr__(self, name):
    print('Cannot delete enumerations')
    raise AttributeError
